package com.yape.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @author yape
 * @description  中国指数，后端返回数据
 * @date 2025/5/24 13:26
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ChinaIndexVO {

        private Integer  totalElements;
        private Integer  totalPages;
        private Integer  currentPage;
        private Integer  pageSize;
        private List<ChinaIndexInner> content;

        @Data
        @Builder
        @AllArgsConstructor
        @NoArgsConstructor
        public static class ChinaIndexInner {
                /** 序号 */
                private Integer id;
                /** 指数名称 */
                private String indexName;
                /** 最新价 */
                private Float latestPrice;
        }

}
